YellowTree\GeoipDetect\DataSources\DataSourceRegistry S

Total Complexity 20
Dependencies 1
Dependents 12
Total lines 120
Lines of code 63
Logical lines of code 33
Comment lines 31
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
uninstall()
S
63 4 11
getSource()
S
63 4 10
getInstance()
S
71 2 6
setCurrentSource()
S
64 2 10
__construct()
S
81 1 3
register()
S
76 1 4
getCurrentSourceId()
S
79 1 3
getCurrentSource()
S
80 1 3
sourceExists()
S
79 1 3
getAllSources()
S
82 1 3
isSourceCachable()
S
74 1 4
isCachingUsed()
S
80 1 3